package com.liuyk;

import com.liuyk.entity.Subscriptions;

import java.util.ArrayList;

/**
 * 全局变量
 *
 * Created by Administrator on 2015/9/9.
 */
public class Constants {
    public static final String CONFIG_NAME = "config.txt";
    /** 频道序列化文件名称 */
    public static final String CHANNEL_FILE_NAME = "channel";

    public static String version = "version";
    public static String newGallery = "newGallery";
    public static String coverStory = "coverStory";
    public static String upgrade = "upgrade";
    public static String uploadImg = "uploadImg";
    public static String statics = "statics";
    public static String errorReport = "errorReport";
    public static String review = "review";
    public static String commentHot = "commentHot";
    public static String realtimeHot = "realtimeHot";
    public static String alawayHot = "alawayHot";
    public static String getComment = "getComment";
    public static String sendComment = "sendComment";
    public static String supportComment = "supportComment";
    public static String detail = "detail";
    public static String detailSupport = "detailSupport";
    public static String alerts = "alerts";
    public static String downloadURL = "downloadURL";
    public static String matchInfoURL = "matchInfoURL";
    public static String sportLiveFactURL = "sportLiveFactURL";
    public static String sportLiveCommentURL = "sportLiveCommentURL";
    public static String dataPageURL = "dataPageURL";
    public static String reportPageURL = "reportPageURL";
    public static String poisonousURL = "poisonousURL";
    public static String shareURL = "shareURL";
    public static String requestURL = "requestURL";
    public static String speakURL = "speakURL";
    public static String directSeedingURL = "directSeedingURL";
    public static String surveyGetUrl = "surveyGetUrl";
    public static String surveySendUrl = "surveySendUrl";
    public static String surveyShareResultUrl = "surveyShareResultUrl";
    public static String surveyShareDetailUrl = "surveyShareDetailUrl";
    public static String voteGetUrl = "voteGetUrl";
    public static String voteResultUrl = "voteResultUrl";
    public static String voteShareUrl = "voteShareUrl";
    public static String voteShareResult = "voteShareResult";
    public static String videoDetailUrl = "videoDetailUrl";
    public static String videoDetailRelativeUrl = "videoDetailRelativeUrl";
    public static String videoDetailShareUrl = "videoDetailShareUrl";
    public static String wakeUpUrl = "wakeUpUrl";
    public static String getIconCaptchaUrl = "getIconCaptchaUrl";
    public static String getMmsCaptchaUrl = "getMmsCaptchaUrl";
    public static String checkMobileUrl = "checkMobileUrl";
    public static String checkMailUrl = "checkMailUrl";
    public static String mobileRegUrl = "mobileRegUrl";
    public static String mailRegUrl = "mailRegUrl";
    public static String loginUrl = "loginUrl";
    public static String userForgotPwdUrl = "userForgotPwdUrl";
    public static String checkIsBindUrl = "checkIsBindUrl";
    public static String thirdLoginUrl = "thirdLoginUrl";
    public static String thirdRegUrl = "thirdRegUrl";
    public static String setNicknameUrl = "setNicknameUrl";
    public static String getUserInfoUrl = "getUserInfoUrl";
    public static String uploadHeadImgUrl = "uploadHeadImgUrl";
    public static String directSeedingShareUrl = "directSeedingShareUrl";
    public static String sportLiveNew = "sportLiveNew";
    public static String channelPerchUrl = "channelPerchUrl";
    public static String imageCutUrl = "imageCutUrl";
    public static String uploadVideoUrl = "uploadVideoUrl";
    public static String recommondlist_url = "recommondlist_url";
    public static String recommondlist_url_new = "recommondlist_url_new";
    public static String subchannelinfo_url = "subchannelinfo_url";
    public static String cdn_detail = "cdn_detail";
    public static String channel_recommond = "channel_recommond";
    public static String mySubcribe = "mySubcribe";
    public static String mySubcribe_news = "mySubcribe_news";
    public static String adv_distance_url = "adv_distance_url";
    public static String subscribeSyncListwithUser = "subscribeSyncListwithUser";
    public static String subscribeGetListwithUser = "subscribeGetListwithUser";
    public static String usercentercontent = "usercentercontent";
    public static String userCenterRecordShoppingUrl = "userCenterRecordShoppingUrl";
    public static String msgboxunreadcount = "msgboxunreadcount";
    public static String usermsglist_url = "usermsglist_url";
    public static String userCenterDetailUrl = "userCenterDetailUrl";
    public static String loginInitUrl = "loginInitUrl";
    public static String updateImgAndName = "updateImgAndName";
    public static String syncAddColletion = "syncAddColletion";
    public static String syncDelColletion = "syncDelColletion";
    public static String syncDelColletionByDocId = "syncDelColletionByDocId";
    public static String getCollectionData = "getCollectionData";
    public static String user_credit = "user_credit";
    public static String userLevelUrl = "userLevelUrl";
    public static String user_upgrade = "user_upgrade";
    public static String user_upgrade_check = "user_upgrade_check";
    public static String sport_data_url = "sport_data_url";
    public static String recommend_count = "recommend_count";
    public static String ifeng_live_info = "ifeng_live_info";
    public static String ifeng_live_hongkong = "ifeng_live_hongkong";
    public static String ifeng_live_chinese = "ifeng_live_chinese";
    public static String columnVideoList = "columnVideoList";
    public static String columnInfo = "columnInfo";
    public static String hotVideoList = "hotVideoList";
    public static String comments_all = "comments_all";
    public static String videoSubscriptionUrl = "videoSubscriptionUrl";
    public static String search_news = "search_news";
    public static String hot_words = "hot_words";
    public static String feed_back = "feed_back";
    public static String switch_cities = "switch_cities";
    public static String wemedia_recommend_list = "wemedia_recommend_list";
    public static String car_type = "car_type";
    public static String car_pic = "car_pic";
    public static String car_price = "car_price";
    public static String car_comment = "car_comment";
    public static String config_info = "config_info";
    public static String base_local_channel_url = "base_local_channel_url";
    public static String local_channel_url = "local_channel_url";
    public static String local_channel_small_url = "local_channel_small_url";
    public static String shopping_notify_url = "shopping_notify_url";
    public static String user_realtime_info_url = "user_realtime_info_url";
    public static String user_web_info_url = "user_web_info_url";
    public static String channel_online_info = "channel_online_info";
    public static String syncUserProfile = "syncUserProfile";
    public static String getUserProfile = "getUserProfile";
    public static String user_coin_url = "user_coin_url";
    public static String search_detail_subscription = "search_detail_subscription";
    public static String search_detail_doc = "search_detail_doc";
    public static String search_detail_video = "search_detail_video";
    public static String search_detail_channel = "search_detail_channel";
    public static String search_detail_photo = "search_detail_photo";
    public static String recommend_channel = "recommend_channel";
    public static String client_adv_url = "client_adv_url";
    public static String client_adv_url_more = "client_adv_url_more";
    public static String stock_url = "stock_url";
    public static String stock_wap_url = "stock_wap_url";
    public static String device_info = "device_info";

    public static ArrayList<Subscriptions> subscriptions = new ArrayList<>();

    public ArrayList getBean(String target){
        if (target.equals("subscriptions")){
            subscriptions.add(new Subscriptions());
            return subscriptions;
        }
        return null;
    }

}
